package cn.wolfcode.car.business.mapper;

import cn.wolfcode.car.business.domain.ServiceItem;
import java.util.List;

import cn.wolfcode.car.business.query.ServiceItemQuery;
import org.apache.ibatis.annotations.Param;

public interface ServiceItemMapper {
    int deleteByPrimaryKey(@Param("id") Long id);

    int insert(ServiceItem record);

    ServiceItem selectByPrimaryKey(@Param("id") Long id);

    List<ServiceItem> selectAll();

    int updateByPrimaryKey(ServiceItem record);

    List<ServiceItem> selectForList(ServiceItemQuery qo);

    void changeSaleStatus(@Param("id") Long id,@Param("salestatusOff") Integer salestatusOff);

    void changeAuditStatus(@Param("serviceItemId") Long serviceItemId, @Param("auditstatusAuditing") Integer auditstatusAuditing);

    void changeAuditStatu(@Param("serviceItemId") Long serviceItemId, @Param("auditstatusInit") Integer auditstatusInit);

    void updateAuditStatus(@Param("serviceItemId") Long serviceItemId, @Param("auditstatusInit") Integer auditstatusInit);
}